const express = require('express')
const app = express()
const parser = require('body-parser')
app.use(parser.urlencoded({ extended: false }))
app.post('/user', (req, res) => {
    res.send('ok!')
    console.log(req.body);
})

app.listen(8765, () => {
    console.log('express server running at localhost:8765');
})